package com.wx.disparent.mallparent.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.apache.catalina.User;

import java.math.BigDecimal;

/**
 * @author 曾右权
 * @description 订单
 * @date 2019/12/9 18:50
 */

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class OrderEntity {
/**   订单id*/
    private Integer id;
/**   购买数量*/
    private Integer totalNum;
/**   支付金额*/
    private BigDecimal payMoney;
/**   上级用户支付金额*/
    private BigDecimal referPayMoney;
/**   上级用户利润*/
    private BigDecimal welfareMoney;
/**   返利金额*/
    private BigDecimal returnMoney;

/**   支付方式*/
    private String payType;
    /**   上级用户账户*/
    private String referAcctNum;
    /**   上级用户账户名称*/
    private String referAcctName;

/**   上级用户支付方式*/
    private String referPayType;
    /**   商家账户*/
    private String merchantAcctNum;
    /**   商家账户名称*/
    private String merchantAcctName;

/**   新建时间*/
    private String createTime;
/**   修改时间*/
    private String updateTime;
/**   支付时间*/
    private String payTime;
/**   上级用户支付时间*/
    private String referPayTime;
/**   返利时间*/
    private String returnMoneyTime;
/**   发货时间*/
    private String consignTime;
/**   交易完成时间*/
    private String endTime;
/**   交易关闭*/
    private String closeTime;
/**   物流名称*/
    private String shippingName;
/**   物流单号*/
    private String shippingCode;
/**   用户id*/
    private String userId;
/**   收货人*/
    private String receiverContact;
/**   收货人手机*/
    private String receiverMobile;
/**   收货人地址*/
    private String receiverAddress;
/**   交易流水号*/
    private String transactionId;
/**   订单状态*/
    private String orderStatus;
/**   支付状态*/
    private String payStatus;
/**   上级用户支付状态*/
    private String referPayStatus;
/**   返利状态*/
    private String returnMoneyStatus;
/**   发货状态*/
    private String consignStatus;
/**   商品id*/
    private Integer productId;
/**   商品名称*/
    private String productEntityName;
/**   是否删除*/
    private String isDelete;

    public String getMerchantAcctNum() {
        return merchantAcctNum;
    }

    public void setMerchantAcctNum(String merchantAcctNum) {
        this.merchantAcctNum = merchantAcctNum;
    }

    public String getReferAcctNum() {
        return referAcctNum;
    }

    public void setReferAcctNum(String referAcctNum) {
        this.referAcctNum = referAcctNum;
    }

    public String getReferAcctName() {
        return referAcctName;
    }

    public void setReferAcctName(String referAcctName) {
        this.referAcctName = referAcctName;
    }

    public String getMerchantAcctName() {
        return merchantAcctName;
    }

    public void setMerchantAcctName(String merchantAcctName) {
        this.merchantAcctName = merchantAcctName;
    }

    public String getReferPayType() {
        return referPayType;
    }

    public void setReferPayType(String referPayType) {
        this.referPayType = referPayType;
    }

    public BigDecimal getWelfareMoney() {
        return welfareMoney;
    }

    public void setWelfareMoney(BigDecimal welfareMoney) {
        this.welfareMoney = welfareMoney;
    }


    public String getProductEntityName() {
        return productEntityName;
    }

    public void setProductEntityName(String productEntityName) {
        this.productEntityName = productEntityName;
    }

    public BigDecimal getReturnMoney() {
        return returnMoney;
    }

    public void setReturnMoney(BigDecimal returnMoney) {
        this.returnMoney = returnMoney;
    }

    public String getReturnMoneyTime() {
        return returnMoneyTime;
    }

    public void setReturnMoneyTime(String returnMoneyTime) {
        this.returnMoneyTime = returnMoneyTime;
    }

    public String getReturnMoneyStatus() {
        return returnMoneyStatus;
    }

    public void setReturnMoneyStatus(String returnMoneyStatus) {
        this.returnMoneyStatus = returnMoneyStatus;
    }

    public BigDecimal getReferPayMoney() {
        return referPayMoney;
    }

    public void setReferPayMoney(BigDecimal referPayMoney) {
        this.referPayMoney = referPayMoney;
    }


    public String getReferPayTime() {
        return referPayTime;
    }

    public void setReferPayTime(String referPayTime) {
        this.referPayTime = referPayTime;
    }

    public String getReferPayStatus() {
        return referPayStatus;
    }

    public void setReferPayStatus(String referPayStatus) {
        this.referPayStatus = referPayStatus;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getTotalNum() {
        return totalNum;
    }

    public void setTotalNum(Integer totalNum) {
        this.totalNum = totalNum;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public String getPayType() {
        return payType;
    }

    public void setPayType(String payType) {
        this.payType = payType;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getPayTime() {
        return payTime;
    }

    public void setPayTime(String payTime) {
        this.payTime = payTime;
    }

    public String getConsignTime() {
        return consignTime;
    }

    public void setConsignTime(String consignTime) {
        this.consignTime = consignTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getCloseTime() {
        return closeTime;
    }

    public void setCloseTime(String closeTime) {
        this.closeTime = closeTime;
    }

    public String getShippingName() {
        return shippingName;
    }

    public void setShippingName(String shippingName) {
        this.shippingName = shippingName;
    }

    public String getShippingCode() {
        return shippingCode;
    }

    public void setShippingCode(String shippingCode) {
        this.shippingCode = shippingCode;
    }


    public String getReceiverContact() {
        return receiverContact;
    }

    public void setReceiverContact(String receiverContact) {
        this.receiverContact = receiverContact;
    }

    public String getReceiverMobile() {
        return receiverMobile;
    }

    public void setReceiverMobile(String receiverMobile) {
        this.receiverMobile = receiverMobile;
    }

    public String getReceiverAddress() {
        return receiverAddress;
    }

    public void setReceiverAddress(String receiverAddress) {
        this.receiverAddress = receiverAddress;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    public String getPayStatus() {
        return payStatus;
    }

    public void setPayStatus(String payStatus) {
        this.payStatus = payStatus;
    }

    public String getConsignStatus() {
        return consignStatus;
    }

    public void setConsignStatus(String consignStatus) {
        this.consignStatus = consignStatus;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public String getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(String isDelete) {
        this.isDelete = isDelete;
    }
}
